package com.example.babybus.data.entity

import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey
import com.amap.api.services.help.Tip

@Entity(
    tableName = "history",
    indices = [Index(value = ["tip"], unique = true)]
)


data class HistoryEntity(
    @PrimaryKey(autoGenerate = true)
    val id: Int,
    var tip: Tip? = null,
    var uid: Int
)
